package com.hdoit.ares.logical.viewmodel.team;

import com.tennetcn.common.message.SearchItem;
import com.tennetcn.common.message.SearchModel;

public class CooperationTeamSearch extends SearchModel{
	private String employeeId;
	
	private String employeeName;
	
	private String employeePass;
	
	private String buId;
	
	private String roleId;
	
	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getEmployeePass() {
		return employeePass;
	}

	public void setEmployeePass(String employeePass) {
		this.employeePass = employeePass;
	}
	
	public String getBuId() {
		return buId;
	}

	public void setBuId(String buId) {
		this.buId = buId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public CooperationTeamSearch(){
		initSearchItem();
	}
	
	public CooperationTeamSearch(String employeeId){
		this.employeeId=employeeId;
		
		initSearchItem();
	}
	
	public CooperationTeamSearch(String employeeName,String employeePass){
		this.employeeName=employeeName;
		this.employeePass=employeePass;
		
		initSearchItem();
	}
	private void initSearchItem(){
		addSearchItem(new SearchItem("employeeName", "用户姓名",true));
		addSearchItem(new SearchItem("employeeAccount", "用户账户"));
		addSearchItem(new SearchItem("mobile", "手机号码"));
		addSearchItem(new SearchItem("email", "邮箱"));
		addSearchItem(new SearchItem("markCode",false));
	}
}
